<template>
  <div class="newTeam">
    <div class="teamTop">
      <h3>新建小组</h3>
      <p>请在员工列表中拖拽至下方框中</p>
    </div>
    <div class="taemCenter">
      <div class="Center"></div>
      <p class="centerp">已添加“？”人</p>
    </div>
    <div class="teamBottom">
      <div class="teamName">
        <p>输入小组名称</p>
        <el-input
          v-model="textarea2"
          :autosize="{ minRows: 2, maxRows: 4 }"
          type="textarea"
          placeholder="Please input"
        >
        </el-input>
      </div>
      <div class="massage">
        <p>编辑小组公告</p>
        <el-input
          v-model="textarea2"
          :autosize="{ minRows: 2, maxRows: 4 }"
          type="textarea"
          placeholder="Please input"
        >
        </el-input>
      </div>
      <el-button type="primary">创建</el-button>
    </div>
  </div>
</template>

<script>
import { ElInput, ElButton } from "element-plus";
// import { ref } from "vue";
export default {
  setup() {
    // const textarea = ref();
    // return {
    //   textarea,
    // };
  },
  components: {
    ElInput,
    ElButton,
    // ref,
  },
};
</script>

<style lang='less' scoped>
.newTeam {
  width: 25%;
  background-color: #fff;
  float: left;
  margin: 0 20px;
  padding: 10px;
}
.taemCenter {
  width: 95%;
  border-radius: 4px;
  .Center {
    width: 100%;
    height: 240px;
    padding: 0 0px 0 20px;
    margin: 6px auto;
    background-color: rgb(235, 235, 235);
  }
  .centerp {
    width: 100%;
    text-align: center;
  }
}
.teamBottom {
  padding: 0 10px;
}
.teamBottom {
  margin: 10px;
}
.el-button--primary {
  margin: 10px;
  float: right;
  margin-right: 20px;
}
h3 {
  font-size: 20px;
}
p {
  margin: 10px 0;
}
</style>